<%-- 
    Document   : dangnhapcontent
    Created on : Oct 1, 2011, 7:01:38 PM
    Author     : Administrator
--%>

<%@page import="hibernate.pojo.Khachhang"%>
<%@page import="org.hibernate.HibernateException"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Zing Deal | Đăng nhập khách hàng</title>
<link href="DealZing_files/6aad5646.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%
    try
    {
        Khachhang khachhang = (Khachhang)session.getAttribute("KhachHang");
        if(khachhang==null)
        {
%>
            <div class="BoxDealHot">
                <div class="BoxDealHotTop">
                    <div class="BoxDealHotBottom ViDeal">
                        <div class="Title"><h2 class="Num2">Đăng nhập</h2></div>
                        <div class="ViDealContent">
                            <form name="form1" id="form1" style="height: 250px;" action="logincontroller?action=dadangnhap" method="post" enctype="application/x-www-form-urlencoded" class="frmlogin01 frmGiaoHang">					
                                <div class="ThongTinCaNhan">
                                    <ul class="GoiHang">
                                        <li>
                                            <p>
                                                <label class="Reg Reginput" for="u">Tên đăng nhập</label> 
                                                <input value="" type="text" id="txt" name="txtTaiKhoan" maxlength="24" class="ipt01" />
                                            </p>														
                                        </li>
                                        <li>
                                            <p>
                                                <label class="Reg Reginput" for="namepass">Mật khẩu</label> 
                                                <input type="password" name="txtMatKhau" id="p" value="" maxlength="32" class="ipt01" />
                                            </p>													
                                        </li>
                                        <li>
                                            <p>
                                                <label class="Reg Reginput" for="namepass">&nbsp;</label> 
                                                <a href="https://id.zing.vn/forgotinfo/index.72.html" target="_blank" title="Quên mật khẩu">Quên mật khẩu?</a>										
                                            </p>							
                                        </li>							
                                        <li>
                                            <p>
                                                <label class="Reg" for="longtime">&nbsp;</label> 
                                                <input type="checkbox" name="longtime" id="longtime" class="checkbox" value="1" /> Ghi nhớ tôi trên máy tính này.
                                            </p>
                                        </li>
                                        <li>
                                            <p>
                                                <input type="submit" value=" " class="BtnGui RegisterBtn" style="background:url(DealZing_files/btn-dangnhap.gif) no-repeat;" />
                                                <span class="Hoac"> hoặc </span>
                                                <a href="http://deal.zing.vn/tp-ho-chi-minh/users/register" title="Đăng ký" class="LinkKhac2">Đăng ký</a> 										
                                            </p>
                                        </li>
                                    </ul>
                                </div>
                                <input type="hidden" name="u1" value="http://deal.zing.vn/users/zd_sso_success" /> 
                                <input type="hidden" name="fp" value="http://deal.zing.vn/users/login" /> 
                                <input type="hidden" name="pid" value="72" />
                            </form>
                        </div>
                    </div>
                </div>
            </div>  
<%
        }
    }
    catch(HibernateException ex)
    {
        out.println(ex);
    }
%>   
      
</body>
</html>